export default {
    path: '/register',
    component: require('./index').default,
    indexRoute: {
      getComponent(state, cb){
        require.ensure([], require => cb(null, require('./RegisterStep1').default))
    } 
  },
    childRoutes: [
      {
        path: 'step2',
        getComponent(state, cb){
          require.ensure([], require => cb(null, require('./RegisterStep2').default))
        }
      },
      {
        path: 'success',
        getComponent(state, cb){
          require.ensure([], require => cb(null, require('./RegisterSuccess').default))
        }
      }

    ]
  }